package cn.shop.transcation.TransactionRecord.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 交易记录(TransactionRecord)表实体类
 *
 * @author jzw
 * @since 2021-12-13 10:49:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ScanTransactionRecord extends TransactionRecord {

	private static final long serialVersionUID = -5496538982582340336L;

	/**
	 * 支付方式
	 */
	@NotNull(message = "缺少支付方式")
	private Long channelId;

	/**
	 * 回调地址
	 */
	@NotNull(message = "缺少回调地址")
	private String returnUrl;

	/**
	 * 银行代码
	 */
	private String bankCode;

}

